<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>TestNumericDisplayEvent</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">TestNumericDisplayEvent</td></tr>
</thead><tbody>
<tr>
    <td>open</td>
    <td>http://localhost:8080/Tests/TestNumericDisplay?value_override=0</td>
    <td></td>
</tr>
<tr>
    <td>assertTitle</td>
    <td>Numeric Display</td>
    <td></td>
</tr>
<tr>
    <td>verifyText</td>
    <td>//div[@id='main_content']/form/table/tbody/tr/th/label</td>
    <td>Numeric Display:</td>
</tr>
<tr>
    <td>waitForText</td>
    <td>//div[@id='main_content']/form/table/tbody/tr/td</td>
    <td>0</td>
</tr>
<tr>
    <td>verifyText</td>
    <td>//div[@id='main_content']/form/table/tbody/tr/td</td>
    <td>0</td>
</tr>
<!-- Set up to use the widget event router -->
<tr>
    <td>getWidgetEventRouter</td>
    <td>TestNumericDisplay_Sender</td>
    <td></td>
</tr>
<!-- Check for response to incoming SetButtonText event -->
<tr>
    <td>publishEvent</td>
    <td>http://id.webbrick.co.uk/events/SetNumericDisplayValue</td>
    <td>1</td>
</tr>
<tr>
    <td>waitForText</td>
    <td>//div[@id='main_content']/form/table/tbody/tr/td</td>
    <td>1</td>
</tr>
<tr>
    <td>verifyText</td>
    <td>//div[@id='main_content']/form/table/tbody/tr/td</td>
    <td>1</td>
</tr>
<!--End of test-->

</tbody></table>
</body>
</html>
